<template>
  <div>
    <h3>{{ count }}</h3>
    <button @click="addCount">+++++++</button>
  </div>
</template>

<script>
import useCount from './hooks/useCount'

export default {
  setup() {
    const [count, addCount] = useCount(2000)
    
    return {
      count,
      addCount
    }
  }
}
</script>

<style lang="scss"></style>
